package com.kitty.game.rank.message;


import com.kitty.game.rank.model.PersonInfo;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 排行榜信息 带等级范围
 */
@Getter
@Setter
@MessageMeta(module = Modules.MSG_TOP_USER, cmd = 1)
public class RespRankTopUser extends Message {
    private short type;

    private int cookie = 523150371;

    private short size = 100;//排行榜数量

    private byte requestType = 2;

    private short min;

    private short max;

    @ListField(2)
    private List<PersonInfo> list;

}
